<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}Django ORM学习{% endblock %}</title>
    <style>
        html,head,body,div,h1,h2,h3,h4,h5,h6,ul,ol,li,a{
            margin: 0px;
            padding: 0px;
            box-sizing: border-box;
        }
        a{
            text-decoration: none;
        }
        html, body{
            width: 100%;
            height: 100%;
            background-color: #eeeeee;
        }
        html {
            padding: 20px;
        }
        body {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .content{
            width: 100%;
            min-height: 90vh;
            background-color: #ffffff;
            border-radius: 5px;
            padding: 20px;
        }
        .content>ul {
            width: 100%;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: flex-start;
            counter-reset: section;
            list-style-type: none;
        }
        .content>ul li {
            position: relative;
            padding-left: 30px;
            padding-right: 20px;
            margin-bottom: 10px;
            width: 33%;
            font-size: 16px;
            line-height: 1.4;
            font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
            list-style: none;
        }
        .content>ul li a{
            color: #585c67;
        }
        .content>ul li:before, .content>ul li::before {
            position: absolute;
            top: 0px;
            left: 0px;
            counter-increment: section;
            content: counters(section,".") ".";
            color: #585c67;
        }
    </style>
    <style>{% block style %}{% endblock %}</style>
</head>
<body>
    <div class="content">
        {% block content %}{% endblock %}
    </div>
</body>
</html>